package com.yjf.feign;

import com.yjf.pojo.LagouAuthCode;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author Administrator 岳剑飞
 * @date
 * @description:
 */
@Component
public interface MailServiceFeignClient {
    @GetMapping("/findAuthCodeByEmail/{mail}")
    List<LagouAuthCode> findAuthCodeByEmail(@PathVariable("mail") String mail);

}
